﻿using OsmProcessing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace OsmProcessingTests
{
    
    
    /// <summary>
    ///This is a test class for OsmFilteringTest and is intended
    ///to contain all OsmFilteringTest Unit Tests
    ///</summary>
    [TestClass()]
    public class OsmFilteringTest
    {


        /// <summary>
        ///A test for ExtractBikeRoutesInRegion
        ///</summary>
        [TestMethod()]
        public void ExtractBikeRoutesInRegionTest()
        {
            OsmFiltering target = new OsmFiltering();
            string osmFilePath = @"f:\data\maps\osm\austria.osm";
            string osmOutputFilePath = @"f:\data\maps\osm\output1.osm";
            Coordinate leftCorner = new Coordinate(48.280908, 16.263885);
            Coordinate rightCorner = new Coordinate(48.157383, 16.539917);
            target.ExtractBikeRoutesInRegion(osmFilePath, osmOutputFilePath, leftCorner, rightCorner);

        }

    }
}
